import struct
a = [1,1,1]
b = 1
print struct.unpack('xxI',struct.pack('xxI',4))